
using JTZY.Model.Business;

namespace JTZY.Model.Product.Dto
{
    /// <summary>
    /// 货物表查询对象
    /// </summary>
    public class ProdinfoQueryDto : PagerInfo
    {
        public long UserId { get; set; }
        public int? productId { get; set; }
        public int? Type { get; set; }
        public string Sn { get; set; }
        public string InboundTime { get; set; }
        public long? userCusId { get; set; }

    }
    public class ProdQueryDto
    {
        public string snCode { get; set; }
        /// <summary>
        /// 0 、入库  1、出库  2、退货入库 3、换货出库 4、调小仓 5、调本仓
        /// </summary>
        public string type { get; set; }

        public long? UserId { get; set; }
    }
    /// <summary>
    /// 货物表输入输出对象
    /// </summary>
    public class ProdinfoDto
    {
        public long Id { get; set; }

        public string SnCode { get; set; }
        public int? ProductId { get; set; }
        public DateTime? InboundTime { get; set; }

        public DateTime? ProdctDate { get; set; }

        public DateTime? ActivationDate { get; set; }

        public int? ValidDay { get; set; }

        public string OutDate { get; set; }

        /// <summary>
        ///代理ID 
        /// </summary>
        public long? UserId { get; set; }

        /// <summary>
        /// 客户ID
        /// </summary>
        public long? UserCusId { get; set; }
        /// <summary>
        /// 分仓Id
        /// </summary>
        public int StoreId { get; set; }
        /// <summary>
        /// 原始二维码
        /// </summary>
        public string QrCode { get; set; }

        public string SkuName { get; set; }

        public string SkuImage { get; set; }

        public decimal Price { get; set; }

        public List<StockFlowItem> stockFlowItems { get; set; }
        public string BarCode { get; set; }
        public string BrandName { get; set; }

        public string AftersalesId { get; set; }
        public string Sn { get; set; }

        public long Agent { get; set; }
        public int GoodsId { get; set; }
        public string NCode { get; set; }
        public decimal? CostPrice { get; set; }
        public string CusUserName { get; set; }
        public string UserName { get; set; }
    }

    public class ProdDto
    {
        public string SnCode { get; set; }

        public long? ProductId { get; set; }

        public DateTime? ProdctDate { get; set; }

        public string SkuName { get; set; }

        public string BrandName { get; set; }
        public string imageurl { get; set; }
    }
}